package behavioralPattern.visitor.example01.visitor;

import behavioralPattern.visitor.example01.product.Candy;
import behavioralPattern.visitor.example01.product.Fruit;
import behavioralPattern.visitor.example01.product.Wine;

/**
 * 抽象访问者
 */
public interface Visitor {

    public void visit(Candy candy);

    public void visit(Wine wine);

    public void visit(Fruit fruit);
}
